package com.love.driver.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.love.common.core.annotation.Excel;
import com.love.common.core.web.domain.BaseEntity;

/**
 * 代驾服务评价对象 LOVE_DRIVER_RATING
 * 
 * @author love
 * @date 2025-09-13
 */
public class LoveDriverRating extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评价记录ID */
    private Long ratingId;

    /** 关联代驾订单ID */
    @Excel(name = "关联代驾订单ID")
    private Long orderId;

    /** 评价用户ID */
    @Excel(name = "评价用户ID")
    private Long userId;

    /** 被评价司机ID */
    @Excel(name = "被评价司机ID")
    private Long driverId;

    /** 评分：1-10分 */
    @Excel(name = "评分：1-10分")
    private Integer ratingScore;

    /** 评价内容 */
    @Excel(name = "评价内容")
    private String ratingComment;

    public Long getRatingId() {
        return ratingId;
    }

    public void setRatingId(Long ratingId) {
        this.ratingId = ratingId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getDriverId() {
        return driverId;
    }

    public void setDriverId(Long driverId) {
        this.driverId = driverId;
    }

    public void setRatingScore(Integer ratingScore)
    {
        this.ratingScore = ratingScore;
    }

    public Integer getRatingScore() 
    {
        return ratingScore;
    }

    public void setRatingComment(String ratingComment) 
    {
        this.ratingComment = ratingComment;
    }

    public String getRatingComment() 
    {
        return ratingComment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ratingId", getRatingId())
            .append("orderId", getOrderId())
            .append("userId", getUserId())
            .append("driverId", getDriverId())
            .append("ratingScore", getRatingScore())
            .append("ratingComment", getRatingComment())
            .append("createTime", getCreateTime())
            .toString();
    }
}
